**************************************************************************************CyDev: The Cydia Download Counter Widget by mchlmicy
*****************************************************************************

Instructions for installing if you have ModMyi*:

1. Go to modmyi.com, sign in.
2. Mouse over 'Cydia Apps', which is on the silver menu bar up top. From the drop-down menu select 'Submit a Package to Cydia', which is all the way to the left under the subheading 'Quick Links'.
3. Using iFile or iPhoneBrowser (I use the later <3) open the file Widget.html (var/mobile/Library/PerPageHTML/CyDev) and scroll ALL the way to the bottom.
4. Okay, tutorial time; here is a text snippet from what you are seeing in the file:

<div id="packageone">
<script  "text/Javascript">document.write(packageonetitle)</script>
<p align="right"><script type="text/javascript" src="http://modmyi.com/cstats/index.php?package=com.modmyi.skullcandygiblackmobilemusicplayerapptheme&output=text"></script><i> downloads.</i></p>
</div>

The only thing you're editing here is the line that reads "<p align="right"><script type="text/javascript" src="http://modmyi.com/cstats/index.php?package=com.modmyi.skullcandygiblackmobilemusicplayerapptheme&output=text"></script><i> downloads.</i></p>". You're going to delete this line and in the ModMyi page you'll see a similar line in a box next to the description of your own package, copy and paste this in the line's place.

5. Do this for all of your packages and delete any excess sections similar to the one I reproduced above (I'm sure you don't want to follow my packages, or maybe you do...psycho). If you need to make more sections, here's what you do:

	A. Copy the reproduced section above and paste it into the Widget.html 	file just before the bottom (</body></html>). Edit it as before, but 	make sure you change "<div id="packageone">" to "<div 	id="packagefour">" or something more appropriate. Also change the 	section of that reads "document.write(packageonetitle)" to something 	like "document.write(packagefourtitle)".

	B. Scroll up in Widget.html to where it reads:
	#packageone
		{
			position:  fixed;
			top: 125px;
			left: 50px;
			width: 270px;
			font-family: Serif;
			color: #000000;
			font-size: 15px;
			text-shadow: #555555 1px 1px 3px;
		}
	Change "#packageone" to "#packagefour" or whatever it was that you 	renamed the section "div id="packageone">" to (make sure you keep the 	'#' though). See where it says "top:125px;"? I'm going to give you a 	rule for changing this number and it's gonna require a little 	algebra...that's right ALGEBRA [screaming heard in the distance] (that 	was sarcasm). Here it is:

		p=package number
		top= 75(p-1)+125

	Solve and rewrite "top:125px;" as "top:___px;" with the blank being 	where your answer goes.

	C. Open up Config.js and write the following line:
	
		var packagefourtitle = "PACKAGE NAME";
	
	Where it says "packagefourtitle" place whatever it was that you rewrote 	"packageonetitle" as in the first reproduced section. In the quotes 	where it says "PACKAGE NAME", write the name of your package.

6. Open up Config.js and follow the instructions.

7. If you want a profile picture, create a picture of dimensions 72px high by 107 px wide and save it as 'profilepicture.png'. Now delete the file 'profilepicture.png' that came with this widget and replace it with your own.
If you don't want a profile picture, delete the file 'profilepicture.png' from the widget.

SUGGESTION BEFORE YOU GO. IN CYDIA SEARCH 'IBLANK', IT SHOULD BE UNDER THE REPO, MODMYI. THIS APP WILL GIVE YOU BLANK ICONS WHICH ARE USEFUL BECAUSE THERE ISN'T REALLY ANYWHERE TO PLACE ICONS ON THIS WIDGET (YOU CAN BUT IT WILL OBSCURE THE WIDGET). PERSONALLY, I PLACED THE BLANK ICON ON MY PROFILE PICTURE SO I KNEW EXACTLY WHERE IT WAS (I ALSO HAVE 'GRIDLOCK', BUT YOU DON'T REALLY NEED THAT ALTHOUGH I HIGHLY SUGGEST IT). I THEN WENT TO WINTERBOARD AND TURNED ON THE THEME 'NO ICON SHADOWS - IBLANK 4' WHICH COMES WITH THE APP SO THAT THE ICONS WOULD BE COMPLETELY INVISIBLE (UNLESS PRESSED). 

____________________________________________________-mchlmicy <[(^_^)]>


*I'm not sure how this works on other repos like BigBoss, I'm assuming they're similar but since I am not affiliated with repos other than ModMyi I cannot speak on their behalf.